package com.rock.code.bigdata.load.controller;

import com.rock.code.base.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by SJ on 2018/8/21.
 */

@Controller
@RequestMapping("/share")
public class ShareController extends BaseController {

    @RequestMapping("/{UNIT_ID}/{DATE_TYPE}")
    public String host(@PathVariable("UNIT_ID")String UNIT_ID ,@PathVariable("DATE_TYPE")String DATE_TYPE){
        this.request.setAttribute("UNIT_ID",UNIT_ID);
        this.request.setAttribute("DATE_TYPE",DATE_TYPE);
        return "bigdata/datasync/sharepage";
    }
}
